// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'

Vue.config.productionTip = false
Vue.prototype.$http = axios

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    //   components: { App },
      template: '<h1>123</h1>',
    render:(createElement) => {
        return createElement(App)  //创建虚拟DOM
    }
})


// 虚拟DOM: 描述DOM节点的对象  VNode

// 优先级:render >  template > el







